package life.system.search.service;


import life.system.common.to.es.SkuEsModel;
import life.system.search.vo.SearchParam;
import life.system.search.vo.SearchResult;

import java.io.IOException;

public interface ElasticsearchService {

    boolean productStatusUp(SkuEsModel skuEsModels) throws IOException;

    boolean productDel(Integer skuId) throws IOException;

    SearchResult search(SearchParam searchParam);
}
